package cn.touna.jss.modules.third.tencent.entity;

import cn.touna.risk.api.contraints.facet.First;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

/**
 * \* User: MeiZhongHao
 * \* Date: 2019-01-19
 * \* Time: 11:02
 * \* Description:
 * \
 */
public class ApiVertifyFaceEntity {

    /**
     * 订单号
     */
    @NotBlank(groups = First.class)
    private String orderNo;
    /**
     * 用户ID
     */
    @NotBlank(groups = First.class)
    private String userId;
    /**
     * 身份证号码
     */
    @NotBlank(groups = First.class)
    private String idCard;
    /**
     * 姓名
     */
    @NotBlank(groups = First.class)
    private String name;
    /**
     * 照片文件
     */
    @NotNull(groups = First.class)
    private byte[] file;

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public byte[] getFile() {
        return file;
    }

    public void setFile(byte[] file) {
        this.file = file;
    }
}